package com.example.admindatasource.model.po;

import java.math.BigDecimal;

public class OrderLog {
    private Long id;

    private Long userId;

    private String orderCode;

    private Long time;

    private BigDecimal orderMoney;

    @Override
    public String toString() {
        return "OrderLog{" +
                "id=" + id +
                ", userId=" + userId +
                ", orderCode='" + orderCode + '\'' +
                ", time=" + time +
                ", orderMoney=" + orderMoney +
                '}';
    }

    public OrderLog() {
    }

    public OrderLog(Long id, Long userId, String orderCode, Long time, BigDecimal orderMoney) {
        this.id = id;
        this.userId = userId;
        this.orderCode = orderCode;
        this.time = time;
        this.orderMoney = orderMoney;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public BigDecimal getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(BigDecimal orderMoney) {
        this.orderMoney = orderMoney;
    }
}
